#ifndef _begin_code_h_
#define _begin_code_h_

#if SDL_MINOR_VERSION != 2
#error "SDL_layer only works with SDL 1.2"
#endif

#ifdef __WIN32__
 #ifdef BUILD_SDL_LAYER
  #define DECLSPEC __declspec(dllexport)
 #else
  #define DECLSPEC __declspec(dllimport)
 #endif
#endif

#endif

